package com.android.lazysearch;

import java.util.ArrayList;

import android.app.Application;

public class GlobalClass extends Application {
	
	private static ArrayList<Restaurant> restaurants;
	private static Restaurant restaurant;
	private Float total;
	
	public GlobalClass()
	{
		DummyValues demo = new DummyValues();
		restaurants = new ArrayList<Restaurant>();
		restaurant = new Restaurant("Burger King", demo.getChipotleItems(), R.drawable.five_star, "1226 W, 30th Street, Los Angeles, CA 90007", R.drawable.icon);
		restaurants.add(restaurant);
		total = (float) 0.00;
	}
		
	public static ArrayList<Restaurant> getRestaurantList()
	{
		return restaurants;
	}
	
	public static Restaurant getRestaurant()
	{
		return restaurant;
	}
	
	public Float getTotal()
	{
		return total;
	}
	
	public void setTotal(Float amt)
	{
		total = amt;
	}
}
